package com.base.cn.platform.os.service.course.qa.record;

import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.course.CourseBaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * 付费提问记录Service
 * @author LIZHIPENG
 * @since 2018/5/2
 */
@FeignClient(name= CourseBaseService.appName, configuration = FeignAuthConfig.class)
public interface QaBuyRecordService extends CourseBaseService {
    /**
     * 添加问答支付记录
     * @param qaBuyRecordList
     */
    @RequestMapping(contextPath + "/createBuyRecord")
    void createBuyRecord(@RequestBody List<Map<String, Object>> qaBuyRecordList);
}
